import { DrawerItems, SafeAreaView } from 'react-navigation';
import React, { PureComponent } from 'react';
import { StyleSheet, Button } from 'react-native'

export default class UserFunctionDrawer extends PureComponent {
    static navigationOptions = {
        drawerLabel: 'Notifications',
    };
    render() {
        return (
            <Button
                onPress={() => this.props.navigation.navigate('Main')}
                title="Go back home"
            />
        );

    }
}


const styles = StyleSheet.create({
    container: {
        flex: 1,
    },
});